#include "musicplayer.h"

#include <QApplication>
#include<QSharedMemory>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QSharedMemory sharedMemory("MusicPlayer");
    if(sharedMemory.attach()){
       return 0;
    }
    sharedMemory.create(1);

    MusicPlayer w;
    w.show();
    return a.exec();
}
